package cc.lison;

public class HNode<E> extends Node<E> {

	double weight;

	Node leftChild;
	Node rightChild;

	public HNode(E data, double weight) {
		this.data = data;
		this.weight = weight;
	}

	public String toString() {
		return "Node[data=" + data + ", weight=" + weight + "]";
	}
}
